package auction.model;

import java.util.*;
import hello.*;

public class UserOneToOneFK{
	private Long id;
	private String name;
	private AddressOneToOneFK shippingAddress;

	
	public UserOneToOneFK(){
	}
	
	public UserOneToOneFK(String s){
		name=s;
	}
	
	public String toString(){
		return "id="+id+" name="+name;
	}
	
	
	public Long getId(){
		return id;
	}
	public void setId(Long i){
		id=i;
	}
	
	public String getName(){
		return name;
	}
	public void setName(String i){
		name=i;
	}
	
	public AddressOneToOneFK getShippingAddress(){
		return shippingAddress;
	}
	public void setShippingAddress(AddressOneToOneFK i){
		shippingAddress=i;
	}
}